Replacing elements of a Python dictionary using regex